package com.linjiaxin.controller;

import com.linjiaxin.service.TbItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Controller
@RequestMapping("item")
public class TbItemController {
	@Autowired
	private TbItemService tbItemService;


	/**
	 * 登录入口
	 * @param request
	 * @param response
	 * @return
	 */
	@RequestMapping(value = "/itemTest", method = RequestMethod.POST)
	public String tbItemTest(HttpServletRequest request, HttpServletResponse response){
		tbItemService.getItemList();
		return  null;
	}



}
